import java.util.Random;
public class pp3_3
{
  public static void main(String []args)
  {
  Random a = new Random();
  int m,n,l;
  int num1;
  int num2;

  m = a.nextInt(8);
  n = a.nextInt(8);
  l = a.nextInt(8);
  num1 =a.nextInt(556)+100;
  num2 =a.nextInt(8999)+1000;

  System.out.println(m+""+n+""+l+"-"+num1+"-"+num2);
  }
}  
